package com.hualude.roadsign.service;

import com.hualude.roadsign.dto.*;

public interface RuleGroupService {

    public DTResponseDto getRuleGroup4DT(DTRequestDto dtRequestDto, String orgIds, String content, String time)throws Exception;

    public Integer modifyRuleGroup(RuleGroupDto ruleGroupDto)throws Exception;

    public Integer deleteRuleGroupById(String ruleGroupId) throws Exception;

    public DTResponseDto getRedRuleByModelId(DTRequestDto dtRequestDto, Integer modelId)throws Exception;

    public DTResponseDto getBlueRuleByModelId(DTRequestDto dtRequestDto, Integer modelId)throws Exception;

    public Integer addRedRule(PortRedRuleDto dto)throws Exception;

    public Integer addBlueRule(PortBlueRuleDto dto)throws Exception;

    public Integer updateModelRule(Integer ruleModelId)throws Exception;

    Integer updateRedRule(PortRedRuleDto redRuleDto);

    Integer updateBlueRule(PortBlueRuleDto blueRuleDto);
}
